#include <iostream>
using namespace std;

class FileError {};
class MemoryError {};

class Base {
public:
	virtual void foo (void) throw(FileError, MemoryError){
	}
};
class Derived:public Base {
public: 
	void foo (void) {}
};

int main (void)
{
	return 0;
}
